//
//  CustomAlertView.h
//  yunlehui
//
//  Created by saxon on 15/11/17.
//  Copyright © 2015年 saxon. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef void (^textFieldsBlock)(int buttonIndex, NSArray<UITextField *> *textFields);

@interface RTAlertView : UIAlertController


- (instancetype)initWithTitle:(NSString *)title message:(NSString *)message cancelButtonTitle:(NSString *)cancelButtonTitle otherButtonTitles:(NSString *)otherButtonTitles  ReturnBlock:(void (^)(int buttonIndex))returnBlock;

- (void)addTextFieldsBlock:(textFieldsBlock) block;

- (void)show;

@end
